import React from 'react';
import FastClick from 'fastclick';
import flexible from '../../components/flexible/flexible';
import * as utils from '../../components/utils/utils';
import './page.css';

class Page extends React.Component {
    constructor (props) {
        super(props);

        this.state = {
        };

        this.storage = {
        };
    }

    componentWillMount () {
        flexible();

        if ('addEventListener' in document) {
            document.addEventListener('DOMContentLoaded', () => {
                FastClick.attach(document.body);
            }, false);
        }

        // utils.addVConsole();
    }

    render () {
        return (
            <div className="page">
                {this.props.children}
            </div>
        );
    }
}

export default Page;
